package com.ctshk.rpc.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author 谢诗宏
 * @since 2020-12-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_menu")
@ApiModel(value="SysMenu对象", description="菜单表")
public class SysMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = " 标题名称")
    private String title;

    @ApiModelProperty(value = "1 菜单	            2 页面	            3 按钮")
    private Integer menuType;

    @ApiModelProperty(value = "菜单编号")
    private String menuCode;

    @ApiModelProperty(value = "接口地址")
    private String apiUrl;

    @ApiModelProperty(value = "业务类型编码")
    private String businessCode;

    @ApiModelProperty(value = "系统编码")
    private String sysCode;

    @ApiModelProperty(value = "优先级")
    private Integer sort;

    @ApiModelProperty(value = "父级菜单id")
    private Long parentId;

    @ApiModelProperty(value = "1 核心业务系统	            2 供应商开放平台	            3 代理商分销系统ADS	            4 地接系统	            5 商旅系统TMC")
    private Integer platformSysType;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "状态")
    private int status;

    @ApiModelProperty(value = "是否删除")
    private int isDeleted;

    @TableField(exist = false)
    @ApiModelProperty(value = "权限id")
    private Long permissionId;
}
